package edu.sctu.practice.class02.liuli.test.test07;

/**
 * Created by Administrator on 2015/10/18.
 */
public class WuMingFen {
    String theMa;
    int quantity;
    boolean likeSoup;
     public WuMingFen (String theMa,int quantity,boolean likeSoup){
        this.theMa=theMa;
         this.quantity=quantity;
         this.likeSoup=likeSoup;
    }
    public WuMingFen(String theMa,int quantity){
        this.theMa=theMa;
        this.quantity=quantity;
    }
    public boolean check(){
        if (theMa=="酸辣面"&& quantity==2&& likeSoup==true){
            return true;
        }
        else
            return false;

    }
}
